﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace InternetBankingG6Services
{

    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IService2" in both code and config file together.
    [ServiceContract]
    public interface IService2
    {
        [OperationContract]
        void DoWork();

        
    }
    [DataContract(Name = "PersonClass")]
    public class Person
    {
        [DataMember(Name = "FirstName", IsRequired = true, Order = 0)]
        public string name;
        [DataMember(Name = "LastName", IsRequired = true, Order = 1)]
        public string surname;
    }
}
